package com.sailing.service;

import com.sailing.bo.WiselyResponse;
import org.springframework.stereotype.Service;

/**
 * 推送业务处理
 *
 * @author : nanji
 * @create 2017-12-13 11:07
 */

public interface PushService {
    /**
     * 发送消息
     * @param wiselyResponse
     * @return
     * @throws Exception
     */
    String  sendMessage(WiselyResponse wiselyResponse) throws Exception;

    /**
     * 接收消息
     * @param wiselyResponse
     * @return
     * @throws Exception
     */
    String  receiveMesager(WiselyResponse wiselyResponse)throws Exception;
}
